﻿package com.util;

import java.util.ArrayList;

import com.core.Novel;
import com.core.User;

/**
 * 
 * 序列化传输对象， 在客户端与服务器端传递数据
 */

public class Datas implements java.io.Serializable{
        private String flag;//来判断是何种操作 返给客户一个值
        private String flagList;//小说类型标识
        private int NovelIndex;//小说索引
        private User user;//用户传递
        private  Novel novel;//小说传递
        private String TXTContents ;//传递小说内容
        private NovelStyle novelstyle;//小说类型
        private ArrayList<Novel> NovelList;//小说列表
		public String getFlag() {
			return flag;
		}
		public void setFlag(String flag) {
			this.flag = flag;
		}
		public String getFlagList() {
			return flagList;
		}
		public void setFlagList(String flagList) {
			this.flagList = flagList;
		}
		public int getNovelIndex() {
			return NovelIndex;
		}
		public void setNovelIndex(int novelIndex) {
			NovelIndex = novelIndex;
		}
		public User getUser() {
			return user;
		}
		public void setUser(User user) {
			this.user = user;
		}
		public Novel getNovel() {
			return novel;
		}
		public void setNovel(Novel novel) {
			this.novel = novel;
		}
		public String getTXTContents() {
			return TXTContents;
		}
		public void setTXTContents(String txtContents) {
			this.TXTContents = txtContents;
		}
		public NovelStyle getNovelstyle() {
			return novelstyle;
		}
		public void setNovelstyle(NovelStyle novelstyle) {
			this.novelstyle = novelstyle;
		}
		public ArrayList<Novel> getNovelList() {
			return NovelList;
		}
		public void setNovelList(ArrayList<Novel> novelList) {
			NovelList = novelList;
		} //小说列表
		
}
